home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Languages / Mops 2.7 / Mops Manual / Part I.srd / Part I.srd.rsrc / PICT_60.png < prev    next >
Portable Network Graphic  |  1996-01-02  |  126KB  |  816x1056  |  8-bit (256 colors)
Labels: book | reckoner | sky | tree | windowpane
OCR: I-56 Mops Tutorial What's interesting about this kind of indexing is that you can use the index number as counter while exeuting loop By setting the limit and index numbers to integers you need to operate with inside loop (they can be any integers you want), you can copy the index number to the parameter stack each time around the loop and use that number for a calculation. graphics plot point. multiplication factor or whatever The Mops pioM that copies the index to the parame ter stack n Copies the current index value to the parameter stack. Remember that this word only copies the index; it does not disturb the index in any way Here are couple of examples to demonstrate Define word fivecount that displays series of numbers from 101 to 105 .vecount 106 101 LOOP Not ice that the limit set t ...